package com.zmn.plat.dubbo.impl.feedback;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.plat.business.interfaces.feedback.FeedbackBService;
import com.zmn.plat.dubbo.interfaces.feedback.FeedbackListRemoteService;
import com.zmn.plat.dubbo.utils.DubboConsts;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 类描述：
 *
 * @author zmn
 * @since 2022/08/16 9:17
 */
@Slf4j
@DubboService(version = DubboConsts.INTERFACE_VERSION, validation = "true")
public class FeedbackListRemoteServiceImpl implements FeedbackListRemoteService {
    @Autowired
    private FeedbackBService feedbackBService;

    @Override
    public ResponseDTO<String> getEncrypt(String staffId) {
        return ResponseDTO.success(feedbackBService.getEncrypt(staffId));
    }
}
